libmyku.a:mymath.o mystdio.o
	gcc -shared -o libmycal.so mymath.o mystdio.o
mymath.o:mymath.c
	gcc -fpic -c mymath.c -o mymath.o
mystdio.o:mystdio.c
	gcc -fpic -c mystdio.c -o mystdio.o
.PHONY:output
output:
	mkdir -p mycal-lib/lib
	mkdir -p mycal-lib/include
	mv ./*.so mycal-lib/lib
	mv ./*.h mycal-lib/include
.PHONY:clean
clean:
	rm -f ./*.o
